package com.wxp.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wxp.dao.DaoSupport;
import com.wxp.service.ConstructionService;
import com.wxp.service.StatisticsService;
import com.wxp.util.IData;

@Service
public class ConstructionServiceImpl implements ConstructionService {

	@Resource(name = "daoSupport")
	private DaoSupport dao;

	@Override
	public List<IData> fetchWorkTrend(IData param) throws Exception {
		return (List<IData>) dao.findForList("ConstructionMapper.fetchWorkTrend", param);
	}

	@Override
	public List<IData> fetchRateWorkGroupByProject(IData param) throws Exception {
		return (List<IData>) dao.findForList("ConstructionMapper.fetchRateWorkGroupByProject", param);
	}

	@Override
	public List<IData> fetchSummary(IData param) throws Exception {
		return (List<IData>) dao.findForList("ConstructionMapper.fetchSummary", param);
	}


}
